package com.parenting.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class PlatformUserDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "PLATFORM_USER_ID", type = IdType.AUTO)
    private String platformUserId;

    @ApiModelProperty(value = "账号")
    private String platformUserAccount;

    @ApiModelProperty(value = "密码")
    private String platformUserPassword;

    @ApiModelProperty(value = "昵称")
    private String platformUserNickname;

    @ApiModelProperty(value = "注册手机号")
    private String mobile;

    @ApiModelProperty(value = "头像URL")
    private String platformUserHead;

    @ApiModelProperty(value = "帐户是否过期(1 未过期，0已过期)")
    private Integer isAccountNonExpired;

    @ApiModelProperty(value = "帐户是否被锁定(1 未过期，0已过期")
    private Integer isAccountNonLocked;

    @ApiModelProperty(value = "密码是否过期(1 未过期，0已过期)")
    private Integer isCredentialsNonExpired;

    @ApiModelProperty(value = "帐户是否可用(1 可用，2 删除用户)")
    private Integer isEnabled;

}
